package com.aizuda.boot.modules.business.negotiation.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 协商公告列表响应DTO
 */
@Data
@Schema(description = "协商公告列表响应对象")
public class NegotiationAnnouncementListRespDTO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "是否启用协商公告必填 (false=否, true=是)")
    private Boolean negotiationAnnouncementEnabled;

    @Schema(description = "是否启用协商公告提示文本 (false=否, true=是)")
    private Boolean negotiationAnnouncementTextEnabled;

    @Schema(description = "协商公告提示文本内容")
    private String negotiationAnnouncementText;

    @Schema(description = "系统租户键")
    private String sysTenantKey;

    @Schema(description = "系统租户名称")
    private String sysTenantName;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
} 